<?php
// $Id: simplenews_handler_filter_newsletter_s_status.inc,v 1.3 2009/01/02 12:01:17 sutharsan Exp $

/**
 * @file
 * Views filter for simplenews sent status.
 */

/**
 * Filter bases on newsletter sent status.
 */
class simplenews_handler_filter_newsletter_s_status extends views_handler_filter_in_operator {
  function get_value_options() {
    $this->value_options = array(
      SIMPLENEWS_STATUS_SEND_NOT => t('Not sent'),
      SIMPLENEWS_STATUS_SEND_PENDING => t('Pending'),
      SIMPLENEWS_STATUS_SEND_READY => t('Sent'),
    );
  }
}
